﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/User.Master" AutoEventWireup="true" CodeBehind="User_Edit.aspx.cs" Inherits="CoolERP_Web.User.User_Edit" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="../Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td class="tbHead_L"></td>
            <td class="tbHead_M"><div><b><asp:Literal ID="liTitle" runat="server">新增</asp:Literal>员工信息</b></div></td>
            <td class="tbHead_R"></td>
        </tr>
        <tr>
            <td class="tbBody_L"></td>
            <td class="tbBody_M">
                <div style="float: left; width: 540px; margin-right: 30px">
                    <table border="0" width="100%" style="height: 100%;">
                        <tr>
                            <td style="width: 120px; text-align: right;">工号：</td>
                            <td><asp:TextBox ID="tbCode" runat="server" MaxLength="8"></asp:TextBox>
                                <span style="color: #FF0000">*<asp:RequiredFieldValidator ID="RequiredFieldValidator4"
                                    runat="server" ControlToValidate="tbCode" Display="Dynamic" ErrorMessage="*"
                                    ForeColor="Red">请输入工号</asp:RequiredFieldValidator>
                                </span>                                
                            </td>
                            <td rowspan=7 align="left"><asp:Image ID="Image1" runat="server" Height="160px" Width="120px" Visible=false /></td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">姓名：</td>
                            <td><asp:TextBox ID="tbName" runat="server" MaxLength="16"></asp:TextBox>
                                <span style="color: #FF0000">*<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                                    runat="server" ControlToValidate="tbName" Display="Dynamic" ErrorMessage="*"
                                    ForeColor="Red">请输入姓名</asp:RequiredFieldValidator>
                                </span>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">密码：</td>
                            <td style="text-align: left;"><asp:TextBox ID="tbPassword" runat="server" CssClass="textbox" TextMode="Password" MaxLength="20"></asp:TextBox>
                                <span style="color: #FF0000">*</span></td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">ID卡号：</td>
                            <td><asp:TextBox ID="tbICCard" runat="server" MaxLength="10"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">性别：</td>
                            <td><asp:RadioButtonList ID="rbGender" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                    <asp:ListItem Value="0">女</asp:ListItem>
                                    <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">生日：</td>
                            <td><asp:TextBox ID="tbBirthday" runat="server" CssClass="Wdate textbox" MaxLength="16" onclick="WdatePicker({dateFmt: 'yyyy-MM-dd'});"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">身份证号：</td>
                            <td><asp:TextBox ID="tbIdNumber" runat="server" MaxLength="18"></asp:TextBox> </td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">籍贯：</td>
                            <td><asp:TextBox ID="tbHomeTown" runat="server" MaxLength="16"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">档案号：</td>
                            <td><asp:TextBox ID="tbArchives" runat="server" MaxLength="16"></asp:TextBox></td><td></td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">电话：</td>
                            <td><asp:TextBox ID="tbTel" runat="server" MaxLength="32"></asp:TextBox></td><td></td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">手机：</td>
                            <td><asp:TextBox ID="tbMobile" runat="server" MaxLength="11"></asp:TextBox></td><td></td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">邮箱：</td>
                            <td><asp:TextBox ID="tbEmail" runat="server" ></asp:TextBox></td><td></td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">照片：</td>
                            <td><asp:FileUpload ID="PhotoFileUpload" runat="server" /></td><td></td>
                        </tr>
                        <tr>
                            <td style="width: 120px; text-align: right;">住址：</td>
                            <td colspan=2><asp:TextBox ID="tbAddress" runat="server" MaxLength="32" TextMode="MultiLine" Height="43px" Width="297px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td colspan=2><asp:ImageButton ID="btnSave" runat="server" ImageUrl="~/Images/Common/btn_save0.png" OnClick="btnSave_OnClick" />&nbsp;&nbsp;
                                <asp:HyperLink ID="hyplBack" runat="server" NavigateUrl="~/User/UserManage.aspx"><img src="../Images/Common/btn_back0.png" border=0 /></asp:HyperLink>&nbsp;&nbsp;
                                <asp:Label ID="lbResult" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
            <td class="tbBody_R"></td>
        </tr>
        <tr>
            <td class="tbFoot_L"></td>
            <td class="tbFoot_M"></td>
            <td class="tbFoot_R"></td>
        </tr>
    </table>
</asp:Content>
